<%@page import="br.com.skpharma.vo.*,br.com.skpharma.dao.*,java.util.*,java.text.SimpleDateFormat" contentType="text/html; charset=utf-8"%>
<%

	if (session.getAttribute("admLogado") == null){
		%>
			<script language="javascript">
				alert("Access DENIED!");
				window.location.href="index.jsp";
			</script>
		<%  
		
} else {

%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml">

<%
	FuncionarioVO funcionario = new FuncionarioVO();
	funcionario = (FuncionarioVO)session.getAttribute("admLogado");

%>

<head>
<title>.:: SKPharma - Os melhores produtos on-line para sua saúde ::.</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
td img {display: block;}body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
</style>
<!--Fireworks 8 Dreamweaver 8 target.  Created Fri Oct 16 10:43:48 GMT-0300 (Hora oficial do Brasil) 2009-->
<link href="view/css/css.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style1 {
	color: #FFFFFF;
	font-weight: bold;
}
a:link {
	color: #000000;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #000000;
}
a:hover {
	text-decoration: none;
	color: #999999;
}
a:active {
	text-decoration: none;
	color: #000000;
}
.style2 {color: #FFFFFF}
-->
</style>
</head>
<body bgcolor="#dde1e3">
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
<!-- fwtable fwsrc="layout2.png" fwbase="layout.jpg" fwstyle="Dreamweaver" fwdocid = "1497808249" fwnested="0" -->
  <tr>
   <td><img src="images/spacer.gif" width="17" height="1" border="0" alt="" /></td>
   <td><img src="images/spacer.gif" width="223" height="1" border="0" alt="" /></td>
   <td><img src="images/spacer.gif" width="161" height="1" border="0" alt="" /></td>
   <td><img src="images/spacer.gif" width="155" height="1" border="0" alt="" /></td>
   <td><img src="images/spacer.gif" width="159" height="1" border="0" alt="" /></td>
   <td><img src="images/spacer.gif" width="219" height="1" border="0" alt="" /></td>
   <td><img src="images/spacer.gif" width="16" height="1" border="0" alt="" /></td>
   <td><img src="images/spacer.gif" width="1" height="1" border="0" alt="" /></td>
  </tr>

  <tr>
   <td colspan="7" background="images/layout_r1_c1.jpg">&nbsp;</td>
   <td><img src="images/spacer.gif" width="1" height="17" border="0" alt="" /></td>
  </tr>
  <tr>
   <td rowspan="4" background="images/layout_r2_c1.jpg">&nbsp;</td>
   <td colspan="5"><img name="layout_r2_c2" src="images/layout_r2_c2.jpg" width="917" height="212" border="0" id="layout_r2_c2" alt="" /></td>
   <td rowspan="4" background="images/layout_r2_c7.jpg">&nbsp;</td>
   <td><img src="images/spacer.gif" width="1" height="212" border="0" alt="" /></td>
  </tr>
  <tr>
   <td colspan="5"><img name="layout_r3_c2" src="images/layout_r3_c2.jpg" width="917" height="7" border="0" id="layout_r3_c2" alt="" /></td>
   <td><img src="images/spacer.gif" width="1" height="7" border="0" alt="" /></td>
  </tr>
  <tr>
   <td><a href="index.jsp?menu=home"><img name="layout_r4_c2" src="images/adm/teste_r1_c1.jpg" width="223" height="46" border="0" id="layout_r4_c2" alt="" /></a></td>
   <td><a href="index.jsp?menu=produtos"><img name="layout_r4_c3" src="images/adm/teste_r1_c2.jpg" width="161" height="46" border="0" id="layout_r4_c3" alt="" /></a></td>
   <td><a href="index.jsp?menu=sobre"><img name="layout_r4_c4" src="images/adm/teste_r1_c3.jpg" width="155" height="46" border="0" id="layout_r4_c4" alt="" /></a></td>
   <td><a href="index.jsp?menu=minhaconta"><img name="layout_r4_c5" src="images/adm/teste_r1_c4.jpg" width="159" height="46" border="0" id="layout_r4_c5" alt="" /></a></td>
   <td><a href="index.jsp?menu=contato"><img name="layout_r4_c6" src="images/adm/teste_r1_c5.jpg" width="219" height="46" border="0" id="layout_r4_c6" alt="" /></a></td>
   <td><img src="images/spacer.gif" width="1" height="46" border="0" alt="" /></td>
  </tr>
  <tr>
   <td colspan="5" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
     <tr>
       <td width="200"><table width="100%" border="0" cellspacing="1" cellpadding="1">
	      <tr>
           <td bgcolor="#000000"><span class="style1">ADMINISTRAÇÃO</span></td>
         </tr>
         <tr>
           <td bgcolor="#941C1D"><span class="style1">Produtos</span></td>
         </tr>
         <tr>
           <td><a href="view/modelo/index.jsp" target="iframemeio">Modelos</a></td>
         </tr>
         <tr>
           <td><a href="view/marca/index.jsp" target="iframemeio">Marcas</a></td>
         </tr>
         <tr>
           <td><a href="view/prateleira/index.jsp" target="iframemeio">Produtos de Prateleira</a> </td>
         </tr>
         <tr>
           <td><a href="view/tipo/index.jsp" target="iframemeio">Sub-Categorias</a> </td>
         </tr>
		  <tr>
           <td>&nbsp;</td>
         </tr>
		 
         <tr>
           <td bgcolor="#941C1D"><span class="style1">Medicamentos</span></td>
         </tr>
         <tr>
           <td><a href="view/laboratorio/index.jsp" target="iframemeio">Laboratórios</a></td>
         </tr>
         <tr>
           <td><a href="view/principioAtivo/index.jsp" target="iframemeio">Princípios Ativos</a> </td>
         </tr>
         <tr>
           <td><a href="view/medicamento/index.jsp" target="iframemeio">Medicamentos</a></td>
         </tr>
         <tr>
           <td>&nbsp;</td>
         </tr>
         <tr>
           <td bgcolor="#941C1D"><span class="style1">Pessoal</span></td>
         </tr>
         <tr>
           <td><a href="view/funcionario/index.jsp" target="iframemeio">Funcionários</a></td>
         </tr>
         <tr>
           <td><a href="view/cliente/index.jsp" target="iframemeio">Clientes</a></td>
         </tr>
         <tr>
           <td>&nbsp;</td>
         </tr>
         <tr>
           <td bgcolor="#941C1D"><span class="style1">Relatórios</span></td>
         </tr>
         <tr>
           <td><a href="view/relatorio/index.jsp" target="iframemeio">Itens em falta </a></td>
         </tr>
         <tr>
           <td>&nbsp;</td>
         </tr>
         <tr>
           <td>&nbsp;</td>
         </tr>
         <tr>
           <td bgcolor="#000000"><span class="style1">Usuário Logado</span> </td>
         </tr>
         <tr>
           <td bgcolor="#941C1D"><span class="style2"><%=funcionario.getNome()%></span></td>
         </tr>
       </table></td>
       <td><iframe src="" name="iframemeio" width="100%" height="500" scrolling="No" frameborder="0" id="iframemeio" border="NO"> </iframe></td>
     </tr>
   </table>   </td>
   <td><img src="images/spacer.gif" width="1" height="476" border="0" alt="" /></td>
  </tr>
  <tr>
   <td colspan="7"><img src="images/layout_r6_c1.jpg" alt="" name="layout_r6_c1" width="950" height="78" border="0" usemap="#layout_r6_c1Map" id="layout_r6_c1" /></td>
   <td><img src="images/spacer.gif" width="1" height="78" border="0" alt="" /></td>
  </tr>
</table>

<map name="layout_r6_c1Map" id="layout_r6_c1Map">
<area shape="circle" coords="912,24,19" href="adm.jsp" />
</map></body>
<%
}%>
</html>


